<? if($this->pageArray['pageNumber']>0):?>
			<form name="userIndexForm" id="userIndexForm" action="administrator-account-dodel" method="post">
				<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse">
					<tr>
						<td width="8%" class="bbgg">
							<strong>账目编号</strong>
							<br />
							<strong>订单号</strong>
						</td>
						<td width="11%" class="bbgg">
							<strong>类型</strong>
						</td>
						<td width="14%" class="bbgg">
							<strong>从=>到</strong>
						</td>
						<td width="11%" class="bbgg">
							<strong>日期</strong>
						</td>
						<td width="11%" class="bbgg">
							<strong>状态</strong>
						</td>
						<td width="11%" class="bbgg">
							<strong>应付金额($)</strong>
						</td>
						<td width="11%" class="bbgg">
							<strong>实际金额($)</strong>
						</td>
						<td width="11%" class="bbgg">
							<strong>折扣</strong>
						</td>
						<td width="7%" class="bbgg">
							<strong>操作</strong>
						</td>
					</tr>		
					<? for($i=0;$i<count($this->itemArray);$i++):?>						
					<tr <?if($this->itemArray[$i]['state']=='0'):?>bgcolor="#FFE8E8"<?else:?>bgcolor="#FFFFFF"<?endif;?>>
						<td align="center" valign="middle">
							<?=$this->itemArray[$i]['accountid']?>
							<br />
							<? $orderArray=unserialize($this->itemArray[$i]['orderid_string']);?>
							<?if(is_array($orderArray)):?>
								<? foreach($orderArray as $value):?>
									<a href="administrator-order-more?orderid=<?=$value?>">订单#J<?=$value?></a><br />
								<? endforeach;?>
							<?endif;?>
						</td>
						<td align="center">
							<?=$this->itemArray[$i]['to_flname']?>
						</td>
						<td align="center">
							<?if($this->itemArray[$i]['from_username']==''):?>
								紫城<br />
							<?else:?>
								<?=$this->itemArray[$i]['from_username']?><br />
							<?endif;?>
							=> <br />
							<?if($this->itemArray[$i]['to_username']==''):?>
								紫城<br />
							<?else:?>
								<?=$this->itemArray[$i]['to_username']?>
							<?endif;?>
						</td>
						<td align="center">
							<?=date('Y-m-d H:i:s',$this->itemArray[$i]['add_time'])?>
						</td>
						<td align="center">
							<?=$this->itemArray[$i]['state']?>
						</td>
						<td align="center">
							<?=$this->itemArray[$i]['should_paid']?>
						</td>
						<td align="center">
							<?=$this->itemArray[$i]['has_paid']?>
						</td>
						<td align="center">
							<?=$this->itemArray[$i]['discount']?>
						</td>
						<td align="center">
							<input type="checkbox" name="itemArray[]" value="<?=$this->itemArray[$i]['accountid']?>" /> <a href="administrator-account-more?accountid=<?=$this->itemArray[$i]['accountid']?>&flid=<?=$this->itemArray[$i]['flid']?>">查看</a>
						</td>
					</tr>
					<? endfor;?>													
				</table>
				<br />
				<div style="margin:10px">共 <?=$this->pageArray['pageNumber']?> 页　<?=$this->pageString?></div>
			</form>
<?else:?>
<?=$this->getMsg('暂无账户信息!');?>
<?endif;?>
<script>

</script>